package com.traffic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.traffic.entity.Sms;
import com.traffic.model.ApiResponse;

/**
 * Created by IntelliJ IDEA.
 * User: KingRainGrey
 * Date: 2020/9/13
 */
public interface SmsService extends IService<Sms> {
    ApiResponse sendSms(String phone);

    ApiResponse check(String phone, String code);
}
